package com.irdstudio.efp.esb.api.bean.psd.credit.req;

import com.alibaba.fastjson.annotation.JSONField;
import com.irdstudio.efp.esb.api.common.GroupeInterface.psd;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotEmpty;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

public class PsdLimitActivatedReqBean implements Serializable {

    // 授信申请流水号
    @NotNull(groups = {psd.class})
    @NotEmpty(groups = {psd.class})
    @Length(max = 64, groups = {psd.class})
    private String CrdtAppFlowNo;

    @JSONField(name = "CrdtAppFlowNo")
    public String getCrdtAppFlowNo() {
        return CrdtAppFlowNo;
    }

    @JSONField(name = "CrdtAppFlowNo")
    public void setCrdtAppFlowNo(String CrdtAppFlowNo) {
        this.CrdtAppFlowNo = CrdtAppFlowNo;
    }

    @NotNull(groups = {psd.class})
    @NotEmpty(groups = {psd.class})
    @Length(max = 64, groups = {psd.class})
    private String BrchCd;

    @JSONField(name = "BrchCd")
    public String getBrchCd() {
        return BrchCd;
    }

    @JSONField(name = "BrchCd")
    public void setBrchCd(String BrchCd) {
        this.BrchCd = BrchCd;
    }

    /** 放款卡号 */
    @JSONField(name = "DistrCardNo")
    @Length(max = 32, groups = {psd.class})
    private String DistrCardNo;

    /** 还款卡号 */
    @JSONField(name = "RpymtCardNo")
    @Length(max = 32, groups = {psd.class})
    private String RpymtCardNo;

    @JSONField(name = "DistrCardNo")
    public String getDistrCardNo() {
        return DistrCardNo;
    }
    @JSONField(name = "DistrCardNo")
    public void setDistrCardNo(String distrCardNo) {
        DistrCardNo = distrCardNo;
    }
    @JSONField(name = "RpymtCardNo")
    public String getRpymtCardNo() {
        return RpymtCardNo;
    }
    @JSONField(name = "RpymtCardNo")
    public void setRpymtCardNo(String rpymtCardNo) {
        RpymtCardNo = rpymtCardNo;
    }

}
